package com.xiehua.task.actor.cmd;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

public class NotifyClient implements Serializable {

    private static Logger log = LoggerFactory.getLogger(NotifyClient.class);

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    public NotifyClient(String topic, String ip, Integer port, String cid) {
        this.topic = topic;
        this.ip = ip;
        this.port = port;
        this.cid = cid;
    }

    public NotifyClient() {

    }

    private String topic;

    private String ip;

    private Integer port;

    private String cid;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }
}
